import { Injectable } from '@angular/core';

@Injectable({
  providedIn: 'root'
})
export class LogService {

  constructor() { }
  doLog(action: any){
    let uname = 'admin2'
    let time = new Date().getTime()
    // let time = new DateUtil(new Date(),  'yyyy-MM-dd hh:mm:ss')
    console.log(`管理员${uname} 时间${time} 动作${action}`)
  }
}
